#pragma once

#include <vector>
#include "vector3.h"
using namespace std;

#define total_T 100

//B(t) = (1-t)^3 * P1 + 3(1-t)^2 * t * P2 + 3(1-t)*t^2 * P3 + t^3 * P4 t[0,1]
int generateBezierCurve(vector3 p1, vector3 p2, vector3 p3, vector3 p4, vector3 *curve);